<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>实验2_13</title>
		<style>
			.cat {
				width: 100px;
				height: 100px;
				border-radius: 50%;
				/* 实现圆形 */
				background-image: url("cat.png");
				background-position: center;
				background-size: cover;
				transition: transform 2s;
			}

			.cat:hover {
				transform: rotate(180deg);
			}
		</style>
	</head>
	<body>
		<div class="cat"></div>
	</body>
</html>